/*
 * CommonService.groovy
 * Author: 
 * Last Update: 11/07/2013
 * Purpose:
 * 
 * */
package com.ant.myagile

class CommonService {
	
	//Convert String to Integer (example: D8T3 -> 11)
    def ConvertPoint(StringPoint) {
		def rPoint=0
		def dPoint=StringPoint.substring(1,StringPoint.indexOf("T"))
		def tPoint=StringPoint.substring(StringPoint.indexOf("T")+1,StringPoint.length())
		return dPoint.toInteger()+tPoint.toInteger()
    }
}
